﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            Hashtable ht = new Hashtable();

            ht.Add(1, "大盘鸡");
            ht.Add(2, "白斩鸡");
            ht.Add(3, "麻辣鸡");
            ht.Add(4, "香菇滑鸡");
            ht.Add(5, "韩国炸鸡");

            Console.WriteLine("欢迎光临，您吃点啥？");
            Console.ReadLine();

            ht.Remove("麻辣鸡");
            Console.WriteLine(ht[2]);
            ht.Clear();
            Console.WriteLine("今天卖光了,就剩{0}份", ht.Count);

            
        }
    }
}
